package com.dailyblue.project.estate.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.House;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface HouseService extends IService<House> {
    //添加房屋
    JsonResult addHouse( House house);
    //查询所有房屋
    JsonResult findAllHouses();
    //查询单个房屋
    JsonResult findOneHouse(String houseId);
    //删除房屋
    JsonResult deleteHouse(String houseId);
    //更新房屋
    JsonResult updateHouse(House house);
}
